<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it">
<head>
    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
    <title>{if $hostname eq ""}VoiceOne Configurator{else}{$hostname} - VoiceOne Configurator{/if}</title>
    <script src="{$cw_public}/js/functions.js" > </script>
    <script src="{$cw_public}/js/xtree.js" > </script>
    <script src="{$cw_public}/js/fat.js" > </script>
    <script language="JavaScript" src="{$cw_public}/js/calendar/calendar.js"></script>
    <link rel="shortcut icon" href="{$cw_public}/img/favicon.ico" />
    <link rel="Stylesheet" href="{$cw_public}/css/index.css" type="text/css" media="screen" />
    {literal}
    <style>
      a:link, a:visited {color: #03c;}
      a:hover {	color: #fff;	background-color: #03c;}
      #Header {	background-color: #900;}
      #Header h1 {	color: #fc0;}
      #Header h3, #Header h3 a:link, #Header h3 a:visited {	color: #fff;}
      #Header h3 a:hover {	color: #fc0;	background-color: #600;}
      #Header h3 a.current:link, #Header h3 a.current:visited {	color: #fc0;}
      #Header h3 a.current:hover {	color: #fc0;	background-color: #900;}
      #Header h1 a:link, #Header h1 a:visited {	color: #fc0;	text-decoration: none;}
      #Header h1 a:hover {	color: #fc0;	background-color: #900;	text-decoration: underline;}
      #Header h2 {	color: #fff;}
      #Header h2 a:link, #Header h2 a:visited {	color: #fff;	text-decoration: none;}
      #Header h2 a:hover {	color: #fff;	background-color: #900;	text-decoration: underline;}
      #Tabs a:link, #Tabs a:visited {	background-color: #c00;	color: #fff;	border: 1px solid #900;	border-bottom: 1px solid #c00;}
      #Tabs a:link.current, #Tabs a:visited.current {	color: #900;}
      #Tabs a:hover {	color: #fc0;	background-color: #600;	border-bottom: 1px solid #600;}
      #Tabs li#AdminTab a:link, #Tabs li#AdminTab a:visited {	color: #fff;	background-color: #900;	border-bottom: 1px solid #900;	text-decoration: underline;}
      #Tabs li#AdminTab a:hover {	color: #fc0;}
      #Tabs li#AdminTab a.current {	color: #fc0;	text-decoration: none;}


      #Tabs a {background-image: url({/literal}{$cw_public}img/tabCornerRed.gif{literal}); background-repeat: no-repeat;}
      #Header {border: 10px solid #990000; border-width: 10px 10px 0 10px;}
      #DashContentFrame {border: 10px solid #990000; border-width: 0 10px 10px 10px;}

    </style>
    {/literal}
    {sajax js=$ajax}
</head>

<body style="background: #FFC6B4 url({$cw_public}img/bodybg2.gif) repeat-x;">

<div class="Container">
  <div id="Statusbar" >
		
		<div id="StatusRight"></div>
  </div>

  <div id="Header">
    <h3 style="width:300px;">
      <div style="float: right; margin-left: 10px; margin-top: 5px;"><a href="{$cw_public}/../../../settings/system/io/index.php"><img id="tplpbxsytatus" src="{$pbxStatus}"></a></div>
      <div>
        {$persWelcome} <strong>{$cwUser}</strong> (<a class="" href="{php}echo getenv("PHP_SELF")."?cwLogOut=1";{/php}">{$persLogOff}</a>)<br/>
        {if $hostname neq ""}System <strong>{$hostname}</strong> - {else}Voiceone {/if}v{$voiceone_version}<br/>
		    <a href="{$cw_public}../../" title="{$confReturnToPersonal}">{$confReturnToPersonal}</a>
      </div>  
	  </h3>
		<h1 style="padding-bottom: 7px;">
      <img src="{$cw_public}img/configurator.gif" alt="VoiceOne Configurator Panel" />
      <div style="clear:both;"></div>
    </h1>
    {menu section=$section subsection=$subsection}
	</div>

  {if $templateType eq "OneCol"}
      {include file="_1col.tpl"}
  {elseif $templateType eq "TwoColRight"}
      {include file="_2colRight.tpl"}
  {elseif $templateType eq "TwoColLeft"} 
      {include file="_2colLeft.tpl"}
  {else} 
      {include file="_2colLeft.tpl"}
  {/if}

  <div id="Footer">
    <a href="http://www.voiceone.it" target="_blank"><img align="right"  src="{$cw_public}/img/callware2.gif" alt="Powered by Callware" border="0" align="absmiddle" hspace="20"/></a>
    <a href="http://www.voiceone.it/forum/">Get support</a> | 
    <a href="http://www.voiceone.it/licence/">{$loginTerms}</a>
  </div>

</div>
</body>
</html>
